package com.example.service;


import com.example.dao.RecordMapper;
import com.example.domain.Record;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class RecordService {
    @Autowired
    private RecordMapper recordMapper;

    public List<Record> listAll(int patient_id) {
        return recordMapper.listAll(patient_id);
    }

}
